﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ManageClassTask.aspx.cs" Inherits="sysadmin_DL_Project_ManageClassTask" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>职位管理</title>
    <link href="../../../css/1/css/css.css" type="text/css" rel="stylesheet" />
</head>
<body class="bodymain">
    <form id="form1" runat="server" class="bodymain">
         <span style="font-size:14px; font-weight:bold">  <%=ClassName %>作业列表(课程数：<%=CourseNum%>)</span>
        <br />
        <br />
        <table border="0" cellpadding="0" cellspacing="0" class="btnbg" width="100%">
            <tr>
                <td>
                    <%--<asp:CheckBox ID="chkAll" runat="server" Text="全选/取消" OnCheckedChanged="chkAll_CheckedChanged"
                        AutoPostBack="True" ValidationGroup="gs" />
                    <asp:CheckBox ID="chkCancel" runat="server" Text="反选" OnCheckedChanged="chkCancel_CheckedChanged"
                        AutoPostBack="True" ValidationGroup="gs" />
                    <asp:Button ID="btnAddNew" runat="server" Text="" CssClass="inputBotton2" OnClick="btnAddNew_Click" />
                    <asp:Button runat="server" ID="btn_DelCheck" OnClick="btn_DelCheck_Click" CssClass="inputBotton2"
                        Text="删除选中" />--%>
                    
                    &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
                </td>
                
            </tr>
        </table>
        <asp:Repeater ID="rptNew" runat="server" OnItemCommand="rptNew_ItemCommand" OnItemDataBound="rpt_ItemDataBound">
            <HeaderTemplate>
                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="mainList">
                    <tr>
                        
                        <th>
                            </th>
                        <th>
                            作业标题</th>
                       <th>
                            所属课程</th>
                        <%--<th>
                            结束期限</th>--%>
                       <th>
                            允许外边浏览</th>
                       <th>
                            置顶</th>
                        <th>
                            高亮显示</th>
                        <th>
                            <%=GetLanageValueByKey("btn_ManagerQuestion_Work", PowerCreator.LMS.Language.LanagetItemType.Page)%></th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td  style="width:20px">
                        <asp:CheckBox runat="server" ID="Chbox_Check" />
                        <asp:Label ID="lab_ID" runat="server" Text='<%#Eval("ClassTasks_Id")%>' Visible="False"></asp:Label>
                    </td>
                    <td>
                       <asp:LinkButton ID="LinkButton1" runat="server" CommandName="leditor" CommandArgument='<%#Eval("ClassTasks_Id")%>'><%#Eval("TasksTitle")%></asp:LinkButton>
                    </td>
                    <td>
                        <%#Eval("CourseName")%>
                        &nbsp;
                    </td>
                    <%--<td>
                        <%#Eval("EndDate")%>
                        &nbsp;
                    </td>--%>
                    <td>
                        <%#Eval("strBroswer")%>
                        &nbsp;
                    </td>
                    <td>
                        <%#Eval("strSetTop")%>
                        &nbsp;
                    </td>
                   <td>
                        <%#Eval("strSetHighLight")%>
                        &nbsp;
                    </td>
                    <td>
                        <asp:LinkButton ID="lnkbtn_editor" runat="server" CommandName="leditor" CommandArgument='<%#Eval("ClassTasks_Id")%>'>编辑</asp:LinkButton>
                        |<asp:LinkButton ID="lnkbtn_del" runat="server" CommandName="ldel" CommandArgument='<%#Eval("ClassTasks_Id")%>'>删除</asp:LinkButton>
                        |<asp:LinkButton ID="lnkbtn_browsr" runat="server" CommandName="lsetbrowse" CommandArgument='<%#Eval("ClassTasks_Id")%>'>外班浏览</asp:LinkButton>
                        |<asp:LinkButton ID="lnkbtn_top" runat="server" CommandName="lsettop" CommandArgument='<%#Eval("ClassTasks_Id")%>'>置顶</asp:LinkButton>
                        |<asp:LinkButton ID="lnkbtn_highlith" runat="server" CommandName="lsethightlight" CommandArgument='<%#Eval("ClassTasks_Id")%>'>高亮显示</asp:LinkButton>
                        |<asp:LinkButton ID="lnkbtn_add" runat="server" CommandName="ladd" CommandArgument='<%#Eval("Course_ID")%>'>添加作业</asp:LinkButton>
<asp:Label ID="lbl_msg" runat="server" Text="" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
        
    </form>
</body>
</html>
